<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>消费记录</title>
</head>
<body>
<form action="/record",method="post">
    <div>
        <label><span>时间：</span><input type="date" name="createTime"placeholder="2019-06-06"/></label>
    </div>
    <div>
        <label><span>金额：</span><input type="text"name="amount"placeholder="金额"/></label>
    </div>
    <select name="type" id="public">
        <option value="收入">收入</option>
        <option value="支出">支出</option>
    </select>
    <select name="category" id="other">
        <option value="房租">房租</option>
        <option value="水电">水电</option>
        <option value="吃饭">吃饭</option>
        <option value="请客吃饭">请客吃饭</option>
        <option value="ktv">ktv</option>
    </select>
    <div>
        <button type="submit">记一笔</button>
    </div>
</form>
</body>
</html>